﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace King.Box.OpenApi
{
    public static class HttpResponseMessageExtend
    {
        public static HttpResponseMessage ResponseMessageStringContent(string responseMessageContent)
        {
            return new HttpResponseMessage()
            {
                StatusCode = HttpStatusCode.OK,
                Content = new StringContent(responseMessageContent)
            };
        }
    }
}
